import json
import datetime
import sys


def register_config(app):

    from config.config import AppConfig

    app.config.from_object(AppConfig)  # 环境配置
    AppConfig.init_app(app)

